package com.ruoyi.project.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 可派单对象 order_pre_order
 * 
 * @author phil
 * @date 2020-05-31
 */
public class OrderPreOrder extends BaseEntity{
	private static final long serialVersionUID = 1L;

	/** 预订单Id */
	private Long id;

	/** 订单名称 */
	@Excel(name = "订单名称")
	private String orderName;

	/** 合同里程碑 */
	@Excel(name = "合同里程碑")
	private Long conProcessId;

	/** 实际派发催收比例 */
	@Excel(name = "实际派发催收比例")
	private Double collectibleRatio;

	/** 派单状态： 0：未派单；1：已派单 */
	@Excel(name = "派单状态： 0：未派单；1：已派单")
	private String status;

	/** 派单人 */
	@Excel(name = "派单人")
	private String dispatchUserId;

	/** 派单人姓名 */
	@Excel(name = "派单人姓名")
	private String dispatchUserName;

	/** 是否删除（0：未删除；1：已删除） */
	@Excel(name = "是否删除", readConverterExp = "0=：未删除；1：已删除")
	private String isDelete;

	/** 退单原因 */
	private String backDesc;
	/** 退单时间 */
	private Date backTime;

	public void setId(Long id){
		this.id = id;
	}

	public Long getId(){
		return id;
	}

	public void setOrderName(String orderName){
		this.orderName = orderName;
	}

	public String getOrderName(){
		return orderName;
	}

	public void setConProcessId(Long conProcessId){
		this.conProcessId = conProcessId;
	}

	public Long getConProcessId(){
		return conProcessId;
	}

	public void setCollectibleRatio(Double collectibleRatio){
		this.collectibleRatio = collectibleRatio;
	}

	public Double getCollectibleRatio(){
		return collectibleRatio;
	}

	public void setStatus(String status){
		this.status = status;
	}

	public String getStatus(){
		return status;
	}

	public String getDispatchUserId(){
		return dispatchUserId;
	}

	public void setDispatchUserId(String dispatchUserId){
		this.dispatchUserId = dispatchUserId;
	}

	public void setDispatchUserName(String dispatchUserName){
		this.dispatchUserName = dispatchUserName;
	}

	public String getDispatchUserName(){
		return dispatchUserName;
	}

	public void setIsDelete(String isDelete){
		this.isDelete = isDelete;
	}

	public String getIsDelete(){
		return isDelete;
	}

	public String getBackDesc(){
		return backDesc;
	}

	public void setBackDesc(String backDesc){
		this.backDesc = backDesc;
	}

	public Date getBackTime(){
		return backTime;
	}

	public void setBackTime(Date backTime){
		this.backTime = backTime;
	}

	@Override
	public String toString(){
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("orderName", getOrderName()).append("conProcessId", getConProcessId()).append("collectibleRatio", getCollectibleRatio()).append("status", getStatus())
				.append("dispatchUserId", getDispatchUserId()).append("dispatchUserName", getDispatchUserName()).append("isDelete", getIsDelete()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).toString();
	}
}
